package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 配置参数明细对象 applets_config_param_detail
 * 
 * @author cyt
 * @date 2021-07-29
 */
public class AppletsConfigParamDetail implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 配置参数编号 */
    @Excel(name = "配置参数编号")
    private String paramnumber;

    /** 配置参数明细编号 */
    @Excel(name = "配置参数明细编号")
    private String paramdetailnumber;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 别名 */
    @Excel(name = "别名")
    private String alias;

    /** 配置内容 */
    @Excel(name = "配置内容")
    private String content;

    /** 是否热门 */
    @Excel(name = "是否热门")
    private String ishot;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isstate;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operatortime;


    public AppletsConfigParamDetail() {
    }

    public AppletsConfigParamDetail(Long configId, String paramnumber) {
        this.configId = configId;
        this.paramnumber = paramnumber;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setParamnumber(String paramnumber) 
    {
        this.paramnumber = paramnumber;
    }

    public String getParamnumber() 
    {
        return paramnumber;
    }
    public void setParamdetailnumber(String paramdetailnumber) 
    {
        this.paramdetailnumber = paramdetailnumber;
    }

    public String getParamdetailnumber() 
    {
        return paramdetailnumber;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAlias(String alias) 
    {
        this.alias = alias;
    }

    public String getAlias() 
    {
        return alias;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setIshot(String ishot) 
    {
        this.ishot = ishot;
    }

    public String getIshot() 
    {
        return ishot;
    }
    public void setIsstate(String isstate) 
    {
        this.isstate = isstate;
    }

    public String getIsstate() 
    {
        return isstate;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("paramnumber", getParamnumber())
            .append("paramdetailnumber", getParamdetailnumber())
            .append("number", getNumber())
            .append("name", getName())
            .append("phone", getPhone())
            .append("alias", getAlias())
            .append("content", getContent())
            .append("ishot", getIshot())
            .append("isstate", getIsstate())
            .append("sort", getSort())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
